<!--
 * @Author: your name
 * @Date: 2020-12-27 12:48:22
 * @LastEditTime: 2021-03-27 16:58:23
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \white-jotter-blog-vue\src\views\index\index.vue
-->
<template>
  <div class="Index">
    <index-navbar />
    <router-view v-if="$route.path !== '/index'" />
    <home v-else></home>
  </div>
</template>

<script>
import Home from "components/content/index/Home";
import IndexNavbar from "components/content/index/IndexNavbar";
export default {
  name: "Index",
  metaInfo: {
    title: "首页",
  },
  data() {
    return {
      activeIndex: "1",
    };
  },
  components: {
    Home,
    IndexNavbar,
  },
};
</script>

<style lang="less" scoped></style>
